A definition list is a list of terms and corresponding definitions. Definition lists are typically formatted with the term on the left with the definition following on the right or on the next line. The definition text is typically indented with respect to the term. An alternative format places the term left aligned in a wide margin and the definition on one or more lines to the right of the term. If the DT term does not fit in the DT column (one third of the display area), it may be extended across the page with the DD section moved to the next line, or it may be wrapped onto successive lines of the left hand column. The opening list tag must be <DL>. It is followed by an optional list header (<LH>caption</LH>) and then by term names (<DT>) and definitions (<DD>). The list must be closed with </DL>.
ID
An SGML identifier used as the target for hypertext links or for naming particular elements in
associated style sheets. Identifiers are NAME tokens and must be unique within the scope of the current
document.
LANG
This is one of the ISO standard language abbreviations, e.g. "en.uk" for the variety of
English spoken in the United Kingdom. It can be used by parsers to select language specific choices for
quotation marks, ligatures and hyphenation rules. The language attribute is composed from the two letter
language code from ISO 639, optionally followed by a period and a two letter country code from ISO
3166.
CLASS
This a space separated list of SGML NAME tokens and is used to subclass tag names. By
convention, class names are interpreted hierarchically, with the most general class on the left and the most
specific on the right, where classes are separated by a period. The CLASS attribute is most commonly used
to attach a different style to some element, but it is recommended that where practical class names should be
picked on the basis of the element's semantics, because this permitsother uses, such as restricting search
through documents by matching on element class names. The conventions for choosing class names are
outside the scope of this document.
CLEAR
This attribute is common to all block-like elements. When text flows around a figure or table in the
margin, you sometimes want to start an element like a header, paragraph or list below the figure rather than
alongside it. The CLEAR attribute allows you to move down unconditionally:
COMPACT
The presence of this attribute indicates the user agent should use reduced inter-item spacing. The
COMPACT attribute may also reduce the width of the left-hand (DT) column.
In practice, there are several ways to increase the compactness of lists: reduced vertical inter-item
spacing, smaller font size, or even to avoid line breaks between items. This is best handled through
associated style sheets and the class attribute.
The opening list tag must be DL COMPACT. It must be immediately followed by the first term
(DT).
<DL> is legal within:
<BANNER>, <BODYTEXT>, <DD>, <DIV>, <FIGTEXT>,
<FN>, <FORM>, <LI>, <NOTE>, <TD>, <TH>
The following markup can be used within <DL>
<DD>, <DT>, <LH>
<DL>
<DT>One
<DD>not quite two
<DT>Two
<DD>a bit more than one
</DL>